package com.redare.dev.smart.generator.service.provider.filetype;

import org.jetbrains.annotations.NotNull;

import javax.swing.*;

/**
 * @author yangqy on 2021/11/18
 * @date 2021/11/18 下午5:59
 */
public class JavaFileType extends LanguageFileType {

    public static final JavaFileType INSTANCE = new JavaFileType();

    private JavaFileType() {

    }
    @Override
    @NotNull
    public String getName() {
        return "JAVA";
    }

    @Override
    @NotNull
    public String getDescription() {
        return "Java files";
    }

    @Override
    @NotNull
    public String getDefaultExtension() {
        return "java";
    }

    @Override
    public Icon getIcon() {
        return null;
    }

}
